package com.wondertek.poms.dao.repo;

import com.wondertek.poms.dao.po.AdvanceSale;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author evan0213
 * @description
 */
@Repository
public interface IAdvanceSaleDao extends JpaRepository<AdvanceSale, Long>, JpaSpecificationExecutor<AdvanceSale> {

	List<AdvanceSale> findAllByModelIdAndDel(Long modelId, Integer del);
}
